package net.dgg.zz.production.inProcess.dao;


import net.dgg.zz.production.inProcess.entity.Assistant;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface AssistantDao {
    int deleteByPrimaryKey(Long id);

    int insert(Assistant record);

    int insertSelective(Assistant record);

    Assistant selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Assistant record);

    int updateByPrimaryKey(Assistant record);

    /**
    * <p>@Description 根据参数查协单</p>
    * <p>@author mqy</p>
    * <p>@Time 2018/8/14 0014 17:02 创建时间</p>
    * <p>@return</p>
    */
    List<Assistant> query(Map map);
}